package com.tansuo365.test1.service.otherservice;

import com.tansuo365.test1.bean.otherbean.HuiShouDetails;
import com.tansuo365.test1.bean.otherbean.HuiShouZong;

import java.util.List;

public interface HuishouZongService {

    String getTodayMaxHuiShouDanNumber();
    //动态查询回收总表
    List<HuiShouZong> listHuiShouZong(HuiShouZong huiShouZong);

    int deleteByPrimaryKey(Integer id);

    int deleteBatchByPKArr(Integer[] ids);

    int insertSelective(HuiShouZong huiShouZong);

    //添加回收单 以及所有回收单物料
    int saveZongAndDetails(HuiShouZong shengouZong, List<HuiShouDetails> huishouDetailsList);

    HuiShouZong selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HuiShouZong huiShouZong);
}
